package com.vcredit.creditcat.persistence.base;
import com.vcredit.creditcat.model.ProcessSpecial;
import com.vcredit.framework.pagination.DefaultCriteria;
import org.apache.ibatis.annotations.Param;

import java.util.List;
public interface ProcessSpecialMapper{
	void insert(ProcessSpecial obj);
	void update(ProcessSpecial obj);
	List<ProcessSpecial> findAll();
	List<ProcessSpecial> findAllByVersion(@Param("appDesc") String appDesc,@Param("mobile") String mobile);
	List<ProcessSpecial> find(ProcessSpecial obj);
	ProcessSpecial findById(Long id);
	List<ProcessSpecial> findByPage(DefaultCriteria criteria);
	ProcessSpecial findByProductId(long productId);
	Long findNewFastProduct(@Param("appDesc") String appDesc);
}
